package com.bt.lms.ui.action.registration.stu;

import com.bt.lms.ui.page.stu.PageEnrollStuInfo;
import com.bt.lms.ui.page.common.action.pageenp.ApplyStuLabAction;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.scene.layout.Pane;

/**
 * 主界面录取按钮事件
 */
public class PageMainEnrollBtnAction implements EventHandler {

    @Override
    public void handle(Event event) {

        PageEnrollStuInfo pageEnrollStuInfo = new PageEnrollStuInfo();
        Pane pane = ApplyStuLabAction.pageSkipInfo.getPane();
        Integer index = ApplyStuLabAction.pageSkipInfo.getIndex();
        pane.getChildren().set(index,pageEnrollStuInfo);


    }
}
